#ifndef __THREAD_H_
#define __THREAD_H_

#include "_header.h"

#ifndef WIN32

//typedef void* (*THREAD_FUNC)( void * );
typedef pthread_t	ThreadHandle;

typedef void*	THRFUNC_RETURN;
typedef THRFUNC_RETURN (*THREAD_FUNC)();


#else

//typedef int (*THREAD_FUNC)( void * );

typedef	HANDLE	ThreadHandle;

typedef	DWORD	THRFUNC_RETURN;

typedef THRFUNC_RETURN (*THREAD_FUNC)();

#endif


#endif
